package com.kaigejava.DecoratorModelzhuangshizhe.coffeebar.seasoning;

import com.kaigejava.DecoratorModelzhuangshizhe.coffeebar.DrinkComponent;

/**
 * Created by kaigejava on 2019/8/13.
 * 巧克力装饰者。最后产出的是：
 * 巧克力口味的咖啡
 */
public    class Chocolate extends  Seasoning{

    public  Chocolate(DrinkComponent drinkComponent){
        super(drinkComponent);
        super.setDescription("Chocolate");
        super.setPrice(3.0f);
    }
}
